<html>
<head>
    <meta charset="UTF-8">
    <link href="css/bootstrap.min.css" type="text/css" rel="stylesheet" />
    <link href="css/style.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="js/jquery-1.12.2.min.js"></script>
    <script type="text/javascript" src="js/common.js"></script>
    <script type="text/javascript" src="js/pid-generator.js"></script>
</head>
<body >
<div class="panel" >
    <div class="panel-heading">
        <h3>生成PID</h3>
    </div>
    <div class="panel-body">
        <form class="form-horizontal" style="width: 600px;" >
            <div class="form-group">
                <label class="control-label col-sm-3">淘宝联盟ID</label>
                <div class="col-sm-9">
                    <input type="number" value="" data-cache="taobaoUnionId" id="taobaoUnionId" name="taobaoUnionId" class="form-control" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-sm-3">tag</label>
                <div class="col-sm-9">
                    <input type="number" value="29" data-cache="tag" id="tag" name="tag" class="form-control" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-sm-3">gcid</label>
                <div class="col-sm-9">
                    <input type="number" value="0" data-cache="gcid" id="gcid" name="gcid" class="form-control" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-sm-3">站点id</label>
                <div class="col-sm-9">
                    <input type="number" value="100" data-cache="siteId" id="siteId" name="siteId" class="form-control" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-sm-3">生成数量</label>
                <div class="col-sm-9">
                    <input type="number" value="100" data-cache="totalNum" id="totalNum" name="totalNum" class="form-control" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-sm-3">时间间隔（秒）</label>
                <div class="col-sm-9">
                    <input type="number" value="5" data-cache="interval" id="interval" name="interval" class="form-control" />
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-3 col-sm-9">
                    <input type="button" class="btn btn-primary" value="生成一个" id="generateBtn" />
                    <input type="button" class="btn btn-primary" value="批量生成" id="batchGenerateBtn" />
                    <input type="button" class="btn btn-default" value="停止" id="batchGenerateStopBtn" />
                </div>
            </div>
        </form>
        <textarea id="resultMsg" class="form-control" rows="10"></textarea>
    </div>
</div>
</body>
</html>